home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 17 / CU Amiga Magazine's Super CD-ROM 17 (1997)(EMAP Images)(GB)[!][issue 1997-12].iso / CUCD / Programming / DiceSource / src / diffs next >
Text File  |  1994-02-19  |  2KB  |  57 lines

  1. 87c87
  2. <     for (rp = RexxAuxPortList.lh_Head; rp->rp_Node.ln_Succ; rp = (RexxPortNode *)rp->rp_Node.ln_Succ) {
  3. ---
  4. >     for (rp = (RexxPortNode *)RexxAuxPortList.lh_Head; rp->rp_Node.ln_Succ; rp = (RexxPortNode *)rp->rp_Node.ln_Succ) {
  5. 98c98
  6. <     for (rp = RexxAuxPortList.lh_Head; rp->rp_Node.ln_Succ; rp = (RexxPortNode *)rp->rp_Node.ln_Succ)
  7. ---
  8. >     for (rp = (RexxPortNode *)RexxAuxPortList.lh_Head; rp->rp_Node.ln_Succ; rp = (RexxPortNode *)rp->rp_Node.ln_Succ)
  9. 188d187
  10. <         if (pres) rip.rip_RexxMsg->rm_Action |= RXFF_RESULT;
  11. 209c208
  12. <             for (rp = RexxAuxPortList.lh_Head; rp->rp_Node.ln_Succ; rp = (RexxPortNode *)(rp->rp_Node.ln_Succ))
  13. ---
  14. >             for (rp = (RexxPortNode *)RexxAuxPortList.lh_Head; rp->rp_Node.ln_Succ; rp = (RexxPortNode *)(rp->rp_Node.ln_Succ))
  15. 224,228c223,224
  16. <             if (rip.rip_RexxMsg->rm_Result2) {
  17. <             if (pres)
  18. <                 *pres = strdup((char *)rip.rip_RexxMsg->rm_Result2);
  19. <             DeleteArgstring((UBYTE *)rip.rip_RexxMsg->rm_Result2);
  20. <             }
  21. ---
  22. >             if (pres && rip.rip_RexxMsg->rm_Result2)
  23. >             *pres = strdup((char *)rip.rip_RexxMsg->rm_Result2);
  24. 250c246
  25. <     for (rp = RexxAuxPortList.lh_Head; rp->rp_Node.ln_Succ; rp = (RexxPortNode *)(rp->rp_Node.ln_Succ))
  26. ---
  27. >     for (rp = (RexxPortNode *)RexxAuxPortList.lh_Head; rp->rp_Node.ln_Succ; rp = (RexxPortNode *)(rp->rp_Node.ln_Succ))
  28. 255c251
  29. <     while (msg = GetMsg(port)) {
  30. ---
  31. >     while (msg = (struct RexxMsg *)GetMsg(port)) {
  32. 270c266
  33. <         for (rip = RexxWIPList.lh_Head; rip->rip_Node.ln_Succ; rip = (RexxIPNode *)rip->rip_Node.ln_Succ) {
  34. ---
  35. >         for (rip = (RexxIPNode *)RexxWIPList.lh_Head; rip->rip_Node.ln_Succ; rip = (RexxIPNode *)rip->rip_Node.ln_Succ) {
  36. 357,363c353
  37. <         char buf[4];
  38. <         strcpy(buf, ".00");
  39. <         buf[1] += pno / 10;
  40. <         buf[2] += pno % 10;
  41. <         strcpy(port->mp_Node.ln_Name, name);
  42. <         strcat(port->mp_Node.ln_Name, buf);
  43. < /*        sprintf(port->mp_Node.ln_Name, "%s.%02d", name, pno); */
  44. ---
  45. >         sprintf(port->mp_Node.ln_Name, "%s.%02d", name, pno);
  46. 400c390
  47. <     for (rp = RexxAuxPortList.lh_Head; rp->rp_Node.ln_Succ; rp = (RexxPortNode *)rp->rp_Node.ln_Succ) {
  48. ---
  49. >     for (rp = (RexxPortNode *)RexxAuxPortList.lh_Head; rp->rp_Node.ln_Succ; rp = (RexxPortNode *)rp->rp_Node.ln_Succ) {
  50. 460c450
  51. <         for (rip = RexxWIPList.lh_Head; rip->rip_Node.ln_Succ; rip = (RexxIPNode *)rip->rip_Node.ln_Succ) {
  52. ---
  53. >         for (rip = (RexxIPNode *)RexxWIPList.lh_Head; rip->rip_Node.ln_Succ; rip = (RexxIPNode *)rip->rip_Node.ln_Succ) {
  54. 516a507,508
  55.